import request from '@/utils/request'

// 保存处方
export function savePres(data) {
  return request({
    url: '/pres/savePres',
    method: 'post',
    data
  })
}

// 获取处方列表
export function getPresOutList(data) {
  return request({
    url: '/pres/getPresOutList',
    method: 'post',
    data
  })
}

// 获取处方详情
export function getPresDetail(params) {
  return request({
    url: '/pres/getPresDetail',
    method: 'get',
    params
  })
}
